import { appTasks } from '@ohos/hvigor-ohos-plugin';
import { hvigor } from '@ohos/hvigor';
import { ClassTransformerCodeGenPlugin } from 'quick-transformer-codegen-plugin';

export default {
    system: appTasks,  /* Built-in plugin of Hvigor. It cannot be modified. */
    plugins:[
        ClassTransformerCodeGenPlugin(hvigor, {
            // whiteDirList: 源代码文件**父**路径白名单, 从工程根目录开始
            whiteDirList: ['/entry/src/main/ets/model'],
            // blackDirList: 源代码文件**父**路径黑名单, 从工程根目录开始
            blackDirList: []
            // whiteDirList 和 blackDirList 都不配置的情况, 默认对工程进行全扫描
        })
    ]         /* Custom plugin to extend the functionality of Hvigor. */
}
